﻿using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class UserInfoExtend
    {
        /// <summary>
        /// 个人银行账户号。长度最大30个字符。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "bankAccountNo", Required = Required.AllowNull)]
        [MaxLength(30)]
        public string BankAccountNo { get; set; }

        /// <summary>
        /// 个人实名手机号 。长度最大30个字符。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mobile", Required = Required.AllowNull)]
        [MaxLength(30)]
        public string Mobile { get; set; }
    }
}